MANUAL FOR DRAW V5.2 FOR LINUX

By: Daniel Brodzik

Released April 16, 2005

©1998-2005 by Daniel Brodzik


My e-mail address appears in the section called 'CONTACTING THE AUTHOR'.


LEGAL STUFF

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA OR visit the Free Software Foundation's website at http://www.gnu.org. A copy of this license is included in the file "COPYING".


This software is copylefted. That means that you are given three (3) specific freedoms:

1. The right to use this software freely.

2. The right to modify this software freely.

3. The right to copy and distribute verbatim or modified copies of this program freely.


However, you are *NOT* granted the right to take these rights away from others or put any additional restrictions on it that are not specifically permitted by the GNU GPL document. I have provided it with this program. In other words, if you copy or change this program, then you may NOT alter ANY part of the license agreement!!! Look in the program group in your Start menu for an entry entitled 'License Agreement'. I urge you to thoroughly read that document before doing anything else if you haven't already done so while installing this or another GPL program! Also, I urge you to go to http://www.gnu.org/philosophy/philosophy.html for more information on copylefted programs, and the enemy: proprietary sofware. I think the Free Software Foundation really has a great idea.


SYSTEM REQUIREMENTS

A 386 or newer, Linux, the X Window System (XFree86 v4.3 or later, or XOrg), and fairly recent versions of system libraries.


OPERATION

To install, untar the program into your home directory, cd to it, and type "su -c 'make install'". If you don't have GNU make installed, then copy "draw" (the executable) to your /usr/local/bin directory by typing "su -c 'cp draw /usr/local/bin'". If you want to compile the source yourself, see the section "Developer Information" to find out where to get FreeBASIC.


This version doesn't have the introductory slide show. Start the program by going to a terminal window, "cd"ing to the directory you want to save your images into, and typing "draw". Then, press H for help.


This version of Draw is now going to be the only version in development. I am now doing a lot of work on it. If FreeBASIC for DOS gets graphics support, I will support DOS again. However, since the source code is now tuned for FreeBASIC, which is 32-bit, Draw now requires a 386 or newer.


A few notes about each command:


BACKGROUND

This program was first written in GW-BASIC. Unfortunately, GWBASIC was interpreted. What that means is that I had to load GW-BASIC first and then the source code using a batch file. Then, it was translated into machine language as it was running. That wasn't the best way to run it. Then, I met Amos. He showed me a compiler called PowerBASIC. I decided to get a copy and redo it in PowerBASIC. I switched to Linux, and I was looking for quite a while to find a QuickBASIC-compatible compiler that worked under Linux. I looked for HOURS and found FreeBASIC. The first time I came across it, it wasn't even ready yet. I recently found out that it was in a usable beta form. So, I got to work at trying to compile Draw under Linux. Here's the result—my first program is now available for my favorite OS. Draw is now back under development.


KNOWN ISSUES/BUGS

These are issues/bugs that I discovered while I was testing the program. Please do not report these, since I already know about them! (Duh!) If you find others, then please do not hesitate to e-mail me. If you know how to fix any of these, then please tell me!!


THE FUTURE

Here's a list of things I would like to add/do:



I can actually add more features a lot more easily now that my source code is a lot cleaner and now that I've overcome a lot of the other limitations of the original way I wrote the program!


You can check for updates on http://www.winsite.com/free and my website http://www.geocities.com/dosman1986.


DEVELOPER INFORMATION

I have provided a copy of all of the source code in the installation package. When you installed it, the source code was installed in the directory in which you installed DRAW. The source code files are:


draw.bas -> Source for the executable in FreeBASIC, a QuickBASIC-compatible BASIC compiler for Linux, DOS, and Windows. This is intended to be a Linux port, however. I will not make compiling Windows versions a priority due to my disgust at Micro$oft. FreeBASIC is available at http://fbc.sourceforge.net/. Use FreeBASIC v0.13 to compile this program. Do not use FreeBASIC v0.12 to compile the program because it had a couple of serious bugs that caused Draw to freeze.


Makefile -> This is my makefile. To compile the program, run "make". You need GNU make. However, you do not need GCC. To install the program, you can type "sudo make install" (if you have sudo) or "su -c 'make install'" (if you don't have sudo).


If you modify this program, then your new version MUST be copylefted as well! Otherwise, it's a violation of the GNU General Public License. It's illegal to do that, and we don't want to break the law, now do we?


VERSION HISTORY


(NOTE: This only counts released versions!)


v3.3 (November, 2001):


v4.0 (7/1/2003):


v4.0a (7/2/2003):


v4.0b (7/16/2003):


v4.1 (11/7/2003):


v4.2 (5/30/2004)


v4.2L (2/12/2005)


v5.0 (2/17/2005)

This is a MAJOR release! Almost everything I have been wanting to implement over the last three or so years is now here! So, here's what's new for this release:


v5.1 (2/19/2005)

Two days after release 5.0, here's the next version... Here's what's new:


v5.2 (4/16/2005)


CREDITS

It's now time to give credit where credit is due:

People and organizations who provided free tools and/or were directly involved in the project:


People who provided support and encouragement:


CONTACTING THE AUTHOR

Questions? Comments? Bug reports? Complaints? Anything? E-mail me at daniel1986@execpc.com (but please keep it clean!) If you abuse my e-mail address, then I will block anything coming from your e-mail address (my e-mail provider lets me put filters on incoming mail). So please do not make me do that. My website is at http://www.geocities.com/gnulinuxman1986.